﻿using System.Collections.Generic;
using DTTB.Domain;
using DTTB.MV2.QUANLYNHANSUTIENLUONG.BussinessDelegate.Base;
using DTTB.DTO;
using DTTB.SERVICE;

namespace DTTB.MV2.QUANLYNHANSUTIENLUONG.BussinessDelegate.PhanQuyen
{
    public class UserInJobTitleInDepartmentServiceDelegate : BaseServiceDelegate<UserInJobTitleInDepartmentDto, UserInJobTitleInDepartment>
    {
        UserInJobTitleInDepartmentService UserInJobTitleInDepartmentService = new UserInJobTitleInDepartmentService();

        public IList<UserInJobTitleInDepartmentDto> GetUserInJobTitleInDepartmentByUserId(string userId)
        {
            return this.UserInJobTitleInDepartmentService.GetUserInJobTitleInDepartmentByUserId(userId);
        }

        public bool DeleteUserInJobTitleInDepartmentByUserId(string userId)
        {
            return this.UserInJobTitleInDepartmentService.DeleteUserInJobTitleInDepartmentByUserId(userId);
        }
    }
}
